#include "mainwindow.h"

#include <QApplication>

#include <QDebug>

#include "CH341DLL.H"

#include "OLED_SSD1306.h"
#include "CH341DLL.H"

int main(int argc, char* argv[]) {
    // 适配高分辨率屏幕
#if (QT_VERSION >= QT_VERSION_CHECK(5,6,0))
    QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
    QApplication a(argc, argv);
    UCHAR ch = 0xA;
    qDebug() << QString::number(ch, 16);
    ch = ch << 4;
    qDebug() << QString::number(ch, 16);
    ch = ch + 0xA;
    qDebug() << QString::number(ch, 16);
    MainWindow w;
    w.show();
    return a.exec();
}
